<%
# Copyright (C) 2012 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
%>

<% content_for :page_title do %>
  {{#t}}Confirm Your Email Address{{/t}}
<% end %>

<% js_bundle :confirm_email %>

<% @show_left_side = false %>
<% @show_embedded_chat = false %>
<div id="unauthorized_holder">
  <% css_bundle("unauthorized_message") %>
  <div id="unauthorized_message">
    <h2 class="ui-state-error">
      {{#t}}Confirm Your Email Address{{/t}}
    </h2>
    <p style="font-weight: normal">
      <%= t "confirm_email_instructions", <<-TEXT, :email => @current_user.email, :wrapper => {'*' => '<b>\1</b>', '**' => '<a href="' + re_send_confirmation_path(@current_user, @current_user.communication_channel) + '" class="re_send_confirmation_link">\1</a>'}
        Before you can view this page, you need to *verify your email address*
        (%{email}). Click the link in your email to finish setting up your account.
        If you don't see the email, **click to re-send it**, and make sure to check your
        spam box.
      TEXT
      %>
    </p>
  </div>
</div>
